/* Copyright (c) 2004-2022 peigen.info. All rights reserved. */

package info.peigen.hotpot.common.core.domain.bank;

import info.peigen.hotpot.common.core.annotation.Comment;
import info.peigen.hotpot.common.core.domain.Address;
import info.peigen.hotpot.common.core.domain.DomainObject;
import info.peigen.hotpot.common.core.enums.BankCode;
import info.peigen.hotpot.common.core.enums.CardAccountType;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.FieldDefaults;
import lombok.experimental.SuperBuilder;

/**
 * <b>(Bank)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/9/17
 */
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@Data
@NoArgsConstructor
@AllArgsConstructor
@FieldDefaults(level = AccessLevel.PRIVATE)
@Accessors(chain = true)
public class Bank extends DomainObject {
    @Comment(value = "银行名")
    String              name;
    @Comment(value = "银行英文名")
    String              englishName;
    @Comment(value = "银行英文缩写")
    BankCode            bankCode;
    @Comment(value = "银行卡账户类型")
    CardAccountType     accountType;
    @Comment(value = "地址")
    Address             address;
    @Comment(value = "银行转账代码")
    BankTransCode       transCode;
    @Comment(value = "银行相关策略,KV")
    BankStrategy        strategy;
    @Comment(value = "银行支持币种")
    BankSupportCurrency supportCurrency;
    @Comment(value = "备注")
    String              memo;
}